Skip to content

perf: cache persisted key ancestors - #10956

Open
francescatinelli11-cyber wants to merge 1 commit into
adobe:mainfrom
francescatinelli11-cyber:perf/cache-persisted-key-ancestors
Open

francescatinelli11-cyber wants to merge 1 commit into
adobe:mainfrom
francescatinelli11-cyber:perf/cache-persisted-key-ancestors

Conversation

@francescatinelli11-cyber

Copy link
Copy Markdown

Summary

  • Cache persisted keys and their ancestor keys so layout visibility checks use constant-time membership instead of repeatedly walking ancestor chains.
  • Rebuild the cache when persisted keys or layout state changes.
  • Add a regression test for cache reuse and invalidation.

Validation

  • git diff --check passed.
  • Automated tests and type-check were unavailable in this environment because Node.js and Yarn are not installed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant